//
//  WebViewController.h
//  YiBaoStore
//
//  Created by 毛云河 on 2018/10/11.
//  Copyright © 2018年 小河. All rights reserved.
//

#import "BaseViewController.h"
//导入头文件
#import <JavaScriptCore/JavaScriptCore.h>

NS_ASSUME_NONNULL_BEGIN

@protocol JSObjcDelegate <JSExport>

//web端对象调用的JavaScript方法，必须声明！！！
- (void)shareMethod:(NSString *)ShareConfig;//分享信息

@end

@interface WebViewController : BaseViewController<UIWebViewDelegate,JSObjcDelegate>

@property (nonatomic, strong) UIWebView *webView;
@property (nonatomic, strong) NSString *urlString;
@property (nonatomic, strong) JSContext *jsContext;
@property (nonatomic, assign) BOOL isLoadHtml;

@end

NS_ASSUME_NONNULL_END
